package ps.client.plugin.eq2.gui;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;



public class LogFileAction implements ActionListener {
    
    Eq2Plugin eq2plugin;
    File logFile;
    
    public LogFileAction(Eq2Plugin eq2plugin, File logFile) {
        this.eq2plugin = eq2plugin;
        this.logFile = logFile;
    }
    
    @Override
    public void actionPerformed(ActionEvent e) {
        eq2plugin.setupLogParsing(logFile.getAbsolutePath());
    }

}
